package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.rest.transport.vo.StoreInfo;
import cn.stylefeng.guns.modular.transport.entity.InwarehouseTrack;
import cn.stylefeng.guns.modular.transport.model.params.InwarehouseTrackParam;
import cn.stylefeng.guns.modular.transport.model.result.InwarehouseTrackResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 到仓跟踪 服务类
 * </p>
 *
 * @author wp
 * @since 2025-04-19
 */
public interface InwarehouseTrackService extends IService<InwarehouseTrack> {

    /**
     * 新增
     *
     * @author wp
     * @Date 2025-04-19
     */
    void add(InwarehouseTrackParam param);

    /**
     * 删除
     *
     * @author wp
     * @Date 2025-04-19
     */
    void delete(InwarehouseTrackParam param);

    /**
     * 更新
     *
     * @author wp
     * @Date 2025-04-19
     */
    void update(InwarehouseTrackParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wp
     * @Date 2025-04-19
     */
    InwarehouseTrackResult findBySpec(InwarehouseTrackParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wp
     * @Date 2025-04-19
     */
    List<InwarehouseTrackResult> findListBySpec(InwarehouseTrackParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wp
     * @Date 2025-04-19
     */
     LayuiPageInfo findPageBySpec(InwarehouseTrackParam param,String condition);

    void uploadPoint(InwarehouseTrackParam inwarehouseTrackParam);

    StoreInfo getStoreInfoByClientVolSumId(Long clientVolSumId);

    LayuiPageInfo findHx_daocanggenzong(InwarehouseTrackParam inwarehouseTrackParam, String condition, String startTime, String endTime, Long operateId);

}
